
import { extendRequest } from '@/utils/request';
export async function queryList(params) {
  return extendRequest('/car/list', {
    method: 'POST',
    data: { ...params },
  });
}
export async function updateCar(params) {
  return extendRequest('/car/update', {
    method: 'POST',
    data: { ...params },
  });
}
export async function updateCarList(params) {
  return extendRequest('/car/sync', {
    method: 'POST',
    data: { ...params },
  });
}


export async function queryCarDetail(params) {
  return extendRequest('/car/detail', {
    method: 'POST',
    data: { ...params },
  });
}
export async function getGroupList(params) {
  return extendRequest('/source/group/list', {
    method: 'POST',
    data: {
      ...params,
    },
  });
}
export async function updateCarState(params) {
  return extendRequest('/car/update', {
    method: 'POST',
    data: {
      ...params,
    },
  });
}